package com.stadium.mapper;

import com.stadium.entity.GamePlayer;
import com.stadium.dto.GamePlayerDto;
import com.stadium.vo.GamePlayerVo;
import com.stadium.vo.searchVo.SearchVo;
import com.stadium.vo.searchVo.SearchVo;
import com.stadium.vo.searchVo.GamePlayerSearchVo;

import java.util.List;

/**
 * 球员表
 *
 * @author wsl
 * @email
 * @date 2021-05-11 14:58:57
 */
public interface GamePlayerMP {
    void save(GamePlayer gamePlayer);

    void saveBatch(List<GamePlayer> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(GamePlayer gamePlayer);

    List<GamePlayerDto> query(GamePlayerSearchVo searchVo);

    GamePlayerDto get(String id);

    int getCount(GamePlayerSearchVo searchVo);

    GamePlayerDto getByUserId(String userId);

    List<GamePlayerDto> queryPlayerAndDface(GamePlayerSearchVo basicsPlayerSearchVo);

    void updateBatch(List<GamePlayer> playerList);

    int getPlayerCount(GamePlayerSearchVo searchVo);
}
